<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PU2CLR Si4735 Arduino Library: Deal with Interrupt and I2C bus</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_si4735.png"/></td>
  <td id="projectalign">
   <div id="projectname">PU2CLR Si4735 Arduino Library<span id="projectnumber">&#160;2.1.4</span>
   </div>
   <div id="projectbrief">Arduino Library for Si47XX Devices - By Ricardo Lima Caratti</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group05.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">Deal with Interrupt and I2C bus</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf361734168c913803e7e2dfbf4fe0c55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group01.html#unionsi47x__status">si47x_status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#gaf361734168c913803e7e2dfbf4fe0c55">SI4735::getInterruptStatus</a> ()</td></tr>
<tr class="memdesc:gaf361734168c913803e7e2dfbf4fe0c55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates bits 6:0 of the status byte.  <br /></td></tr>
<tr class="separator:gaf361734168c913803e7e2dfbf4fe0c55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d615c1fcfeb570effc97e8b7e959106"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#ga0d615c1fcfeb570effc97e8b7e959106">SI4735::setGpioCtl</a> (uint8_t GPO1OEN, uint8_t GPO2OEN, uint8_t GPO3OEN)</td></tr>
<tr class="memdesc:ga0d615c1fcfeb570effc97e8b7e959106"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables output for GPO1, 2, and 3.  <br /></td></tr>
<tr class="separator:ga0d615c1fcfeb570effc97e8b7e959106"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e5018897af1edc1ca8507af3d3bfc5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#ga5e5018897af1edc1ca8507af3d3bfc5e">SI4735::setGpio</a> (uint8_t GPO1LEVEL, uint8_t GPO2LEVEL, uint8_t GPO3LEVEL)</td></tr>
<tr class="memdesc:ga5e5018897af1edc1ca8507af3d3bfc5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the output level (high or low) for GPO1, 2, and 3.  <br /></td></tr>
<tr class="separator:ga5e5018897af1edc1ca8507af3d3bfc5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6806bca795400959f36e8202e36cd94c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#ga6806bca795400959f36e8202e36cd94c">SI4735::setGpioIen</a> (uint8_t STCIEN, uint8_t RSQIEN, uint8_t ERRIEN, uint8_t CTSIEN, uint8_t STCREP, uint8_t RSQREP)</td></tr>
<tr class="memdesc:ga6806bca795400959f36e8202e36cd94c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the sources for the GPO2/INT interrupt pin.  <br /></td></tr>
<tr class="separator:ga6806bca795400959f36e8202e36cd94c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8eddbfb3e62786aa4843d4bcd25da2b9"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#ga8eddbfb3e62786aa4843d4bcd25da2b9">SI4735::getDeviceI2CAddress</a> (uint8_t <a class="el" href="class_s_i4735.html#a6470177f747ef7eb8e7d02c76f72b19e">resetPin</a>)</td></tr>
<tr class="memdesc:ga8eddbfb3e62786aa4843d4bcd25da2b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C bus address setup.  <br /></td></tr>
<tr class="separator:ga8eddbfb3e62786aa4843d4bcd25da2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga748a4027f317972cb2fb1aed4865973b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#ga748a4027f317972cb2fb1aed4865973b">SI4735::setDeviceI2CAddress</a> (uint8_t senPin)</td></tr>
<tr class="memdesc:ga748a4027f317972cb2fb1aed4865973b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the I2C Bus Address.  <br /></td></tr>
<tr class="separator:ga748a4027f317972cb2fb1aed4865973b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga668008457910e916ebadf15bda2e5b29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group05.html#ga668008457910e916ebadf15bda2e5b29">SI4735::setDeviceOtherI2CAddress</a> (uint8_t i2cAddr)</td></tr>
<tr class="memdesc:ga668008457910e916ebadf15bda2e5b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the other I2C Bus Address (for Si470X)  <br /></td></tr>
<tr class="separator:ga668008457910e916ebadf15bda2e5b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaf361734168c913803e7e2dfbf4fe0c55" name="gaf361734168c913803e7e2dfbf4fe0c55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf361734168c913803e7e2dfbf4fe0c55">&#9670;&#160;</a></span>getInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group01.html#unionsi47x__status">si47x_status</a> SI4735::getInterruptStatus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Updates bits 6:0 of the status byte. </p>
<p>This command should be called after any command that sets the STCINT or RSQINT bits.</p>
<p>When polling this command should be periodically called to monitor the STATUS byte, and when using interrupts, this command should be called after the interrupt is set to update the STATUS byte.</p>
<p>The CTS bit (and optional interrupt) is set when it is safe to send the next command.</p>
<dl class="section see"><dt>See also</dt><dd>Si47XX PROGRAMMING GUIDE; AN332 (REV 1.0); page 135 </dd>
<dd>
<a class="el" href="group__group01.html#unionsi47x__status" title="Status response data representation.">si47x_status</a> </dd>
<dd>
<a class="el" href="group__group06.html#ga7b45c1b22c3c1a3f2326bee913d1e1e0" title="Wait for the si473x is ready (Clear to Send (CTS) status bit have to be 1).">waitToSend</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group01.html#unionsi47x__status" title="Status response data representation.">si47x_status</a> the bit data structure with the status response </dd></dl>

<p class="reference">References <a class="el" href="group__group06.html#ga7b45c1b22c3c1a3f2326bee913d1e1e0">SI4735::waitToSend()</a>.</p>

</div>
</div>
<a id="ga0d615c1fcfeb570effc97e8b7e959106" name="ga0d615c1fcfeb570effc97e8b7e959106"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d615c1fcfeb570effc97e8b7e959106">&#9670;&#160;</a></span>setGpioCtl()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SI4735::setGpioCtl </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>GPO1OEN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>GPO2OEN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>GPO3OEN</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables output for GPO1, 2, and 3. </p>
<p>GPO1, 2, and 3 can be configured for output (Hi-Z or active drive) by setting the GPO1OEN, GPO2OEN, and GPO3OEN bit.</p>
<p>The state (high or low) of GPO1, 2, and 3 is set with the GPIO_SET command.</p>
<p>To avoid excessive current consumption due to oscillation, GPO pins should not be left in a high impedance state.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">GPIO Output Enable   </th><th class="markdownTableHeadNone">value 0   </th><th class="markdownTableHeadNone">value 1    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPO1OEN   </td><td class="markdownTableBodyNone">Output Disabled (Hi-Z) (default)   </td><td class="markdownTableBodyNone">Output Enabled    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPO2OEN   </td><td class="markdownTableBodyNone">Output Disabled (Hi-Z) (default)   </td><td class="markdownTableBodyNone">Output Enabled    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPO3OEN   </td><td class="markdownTableBodyNone">Output Disabled (Hi-Z) (default)   </td><td class="markdownTableBodyNone">Output Enabled   </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd>Si47XX PROGRAMMING GUIDE; AN332 (REV 1.0); pages 82 and 144</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">GPO1OEN</td><td></td></tr>
    <tr><td class="paramname">GPO2OEN</td><td></td></tr>
    <tr><td class="paramname">GPO3OEN</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="group__group06.html#ga7b45c1b22c3c1a3f2326bee913d1e1e0">SI4735::waitToSend()</a>.</p>

</div>
</div>
<a id="ga5e5018897af1edc1ca8507af3d3bfc5e" name="ga5e5018897af1edc1ca8507af3d3bfc5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5e5018897af1edc1ca8507af3d3bfc5e">&#9670;&#160;</a></span>setGpio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SI4735::setGpio </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>GPO1LEVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>GPO2LEVEL</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>GPO3LEVEL</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the output level (high or low) for GPO1, 2, and 3. </p>
<p>GPO1, 2, and 3 can be configured for output by setting the GPO1OEN, GPO2OEN, and GPO3OEN bit in the GPIO_CTL command.</p>
<p>To avoid excessive current consumption due to oscillation, GPO pins should not be left in a high impedance state.</p>
<p>To avoid excessive current consumption due to oscillation, GPO pins should not be left in a high impedance state.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">GPIO Output Enable   </th><th class="markdownTableHeadNone">value 0   </th><th class="markdownTableHeadNone">value 1    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPO1LEVEL   </td><td class="markdownTableBodyNone">Output low (default)   </td><td class="markdownTableBodyNone">Output high    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">GPO2LEVEL   </td><td class="markdownTableBodyNone">Output low (default)   </td><td class="markdownTableBodyNone">Output high    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">GPO3LEVEL   </td><td class="markdownTableBodyNone">Output low (default)   </td><td class="markdownTableBodyNone">Output high   </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd>Si47XX PROGRAMMING GUIDE; AN332 (REV 1.0); pages 83 and 145</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">GPO1LEVEL</td><td></td></tr>
    <tr><td class="paramname">GPO2LEVEL</td><td></td></tr>
    <tr><td class="paramname">GPO3LEVEL</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="group__group06.html#ga7b45c1b22c3c1a3f2326bee913d1e1e0">SI4735::waitToSend()</a>.</p>

</div>
</div>
<a id="ga6806bca795400959f36e8202e36cd94c" name="ga6806bca795400959f36e8202e36cd94c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6806bca795400959f36e8202e36cd94c">&#9670;&#160;</a></span>setGpioIen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SI4735::setGpioIen </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>STCIEN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>RSQIEN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>ERRIEN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>CTSIEN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>STCREP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>RSQREP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the sources for the GPO2/INT interrupt pin. </p>
<p>Valid sources are the lower 8 bits of the STATUS byte, including CTS, ERR, RSQINT, and STCINT bits.</p>
<p>The corresponding bit is set before the interrupt occurs. The CTS bit (and optional interrupt) is set when it is safe to send the next command.</p>
<p>The CTS interrupt enable (CTSIEN) can be set with this property and the POWER_UP command.</p>
<p>The state of the CTSIEN bit set during the POWER_UP command can be read by reading this property and modified by writing this property.</p>
<dl class="section see"><dt>See also</dt><dd>Si47XX PROGRAMMING GUIDE; AN332 (REV 1.0); page 146</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">STCIEN</td><td>Seek/Tune Complete Interrupt Enable (0 or 1). </td></tr>
    <tr><td class="paramname">RSQIEN</td><td>RSQ Interrupt Enable (0 or 1). </td></tr>
    <tr><td class="paramname">ERRIEN</td><td>ERR Interrupt Enable (0 or 1). </td></tr>
    <tr><td class="paramname">CTSIEN</td><td>CTS Interrupt Enable (0 or 1). </td></tr>
    <tr><td class="paramname">STCREP</td><td>STC Interrupt Repeat (0 or 1). </td></tr>
    <tr><td class="paramname">RSQREP</td><td>RSQ Interrupt Repeat(0 or 1). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8eddbfb3e62786aa4843d4bcd25da2b9" name="ga8eddbfb3e62786aa4843d4bcd25da2b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8eddbfb3e62786aa4843d4bcd25da2b9">&#9670;&#160;</a></span>getDeviceI2CAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t SI4735::getDeviceI2CAddress </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>resetPin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C bus address setup. </p>
<p>Scans for two possible addresses for the Si47XX (0x11 or 0x63).</p>
<p>This function also sets the system to use the found I2C bus address of Si47XX.</p>
<p>The default I2C address is 0x11. So, you do not need to use this function if you are using an <a class="el" href="class_s_i4735.html" title="SI4735 Class.">SI4735</a> and the</p>
<p>SEN PIN is configured to ground (GND) or you are using the SI4732 and tnhe SEN PIN is configured to Vcc.</p>
<p>Use this function if you do not know how the SEN pin is configured.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>resetPin MCU Mater (Arduino) reset pin</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int16_t 0x11 if the SEN pin of the Si47XX is low or 0x63 if the SEN pin of the Si47XX is HIGH or 0x0 if error. </dd></dl>

<p class="reference">References <a class="el" href="group__group06.html#gadc6014674bd4d1ee3aab56c605926db1">SI4735::reset()</a>.</p>

</div>
</div>
<a id="ga748a4027f317972cb2fb1aed4865973b" name="ga748a4027f317972cb2fb1aed4865973b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga748a4027f317972cb2fb1aed4865973b">&#9670;&#160;</a></span>setDeviceI2CAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SI4735::setDeviceI2CAddress </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>senPin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the I2C Bus Address. </p>
<p>The parameter senPin can be 0 or 1 (is not the I2C bus address).</p>
<p>It refers to the SEN pin setup of your schematic (eletronic circuit).</p>
<p>If are using an <a class="el" href="class_s_i4735.html" title="SI4735 Class.">SI4735</a> and SEN pin is connected to the ground, call this function with senPin = 0; else senPin = 1.</p>
<p>If are using an SI4732 and SEN pin is connected to the Vcc, call this function with senPin = 0; else senPin = 1.</p>
<p>Consider using the getDeviceI2CAddress function instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">senPin</td><td>0 - <a class="el" href="class_s_i4735.html" title="SI4735 Class.">SI4735</a> device: when the pin SEN (16 on SSOP version or pin 6 on QFN version) is set to low (GND - 0V); 1 - Si4735 device: when the pin SEN (16 on SSOP version or pin 6 on QFN version) is set to high (+3.3V). If you are using an SI4732 device, reverse the above logic (1 - GND or 0 - +3.3V).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>: <a class="el" href="group__group05.html#ga8eddbfb3e62786aa4843d4bcd25da2b9" title="I2C bus address setup.">getDeviceI2CAddress</a> </dd></dl>

</div>
</div>
<a id="ga668008457910e916ebadf15bda2e5b29" name="ga668008457910e916ebadf15bda2e5b29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga668008457910e916ebadf15bda2e5b29">&#9670;&#160;</a></span>setDeviceOtherI2CAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SI4735::setDeviceOtherI2CAddress </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>i2cAddr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the other I2C Bus Address (for Si470X) </p>
<p>You can set another I2C address different of 0x11 and 0x63</p>
<p>It can be useful if another device made by Silicon Labs uses another address setup</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uint8_t</td><td>i2cAddr (example 0x10) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
